package com.bean;

import java.util.List;

public class CourseBean {
    private int cid;
    private String cname;
    private int credit;
    private String techer;

    private List<Student> stuList;


    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public String getTecher() {
        return techer;
    }

    public void setTecher(String techer) {
        this.techer = techer;
    }

    public List<Student> getStuList() {
        return stuList;
    }

    public void setStuList(List<Student> stuList) {
        this.stuList = stuList;
    }

    @Override
    public String toString() {
        return "CourseBean{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", credit=" + credit +
                ", techer='" + techer + '\'' +
                ", stuList=" + stuList +
                '}';
    }
}
